package com.sdx.console.meetProduct.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ibeetl.admin.core.util.ValidateConfig;
import lombok.Data;
import org.beetl.sql.core.annotatoin.AutoID;

import javax.validation.constraints.NotNull;

/**
 * @ClassName MeetProductCust
 * @Description
 * @Author kangbin
 * @Date 2020/10/13 17:34
 */
@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
@Data
public class MeetProductCust {
    @NotNull(message = "ID不能为空", groups = ValidateConfig.UPDATE.class)
    @AutoID
    private Integer id ;
    /*
    产品id
    */
    private Integer productId ;
    /*
    老师ID
    */
    private String customerId ;
}
